package club.justwill.single.model;

/**
 * Created by xiangnan on 16-1-15.
 */
public class ActivityStatus {
    public static int INVALID = 100;
    public static int NORMAL = 10;

    public static String getActivityStatus(int type) {
        switch (type) {
            case 10 : return "NORMAL";
            case 100 : return "INVALID";
            default : return null;
        }
    }

    public static int getActivityrStatusCode(String type) {
        if(type.equals("NORMAL")) return 10;
        if(type.equals("INVALID")) return 100;
        return 0;
    }
}
